package com.atguigu.yygh.hosp.repository;

import com.atguigu.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author 杨林
 * @create 2022-11-06 22:52 星期日
 * description:
 */
public interface DepartmentRepository extends MongoRepository<Department,String> {
    Department getDepartmentByHoscodeAndDepcode(String hoscode,String depcode);

    Department findByHoscodeAndDepcode(String hoscode, String depcode);
}
